package com.zzx.redis;

import org.springframework.beans.factory.annotation.Autowired;

import com.zzx.service.IMyRedisService;

public class InitCache {
	
	@Autowired(required=true)
	private IMyRedisService myRedisService ;
	
	public void inits() {
		myRedisService.loadAll(true);
		System.out.println("初始化信息");
	}
}
